package com.hxs.colorfultest2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = "com.hxs.colorfultest2")
@EnableAutoConfiguration(exclude = {ErrorMvcAutoConfiguration.class})
@MapperScan(basePackages = "com.hxs.colorfultest2.dao")
@EnableTransactionManagement
@EnableScheduling

public class Colorfultest2Application {

    public static void main(String[] args) {
        SpringApplication.run(Colorfultest2Application.class, args);
    }


}
